const install = (Vue, vm) => {
	let topic = (params = {}) => vm.$u.post('/api/my_subject/topic', params);
	let topic_end = (params = {}) => vm.$u.post('/api/my_subject/topic_end', params);
	let list = (params = {}) => vm.$u.post('/api/my_subject/list', params);
	let question = (params = {}) => vm.$u.get('/api/my_subject/question', params);
	let twist = (params = {}) => vm.$u.get('/api/my_volume/twist', params);
	let get_volume = (params = {}) => vm.$u.get('/api/my_volume/get_volume', params);
	let names = (params = {}) => vm.$u.get('/api/stone/names', params);
	let index = (params = {}) => vm.$u.get('/api/stone/index', params);
	let record = (params = {}) => vm.$u.post('/api/stone/record', params);
	let my = (params = {}) => vm.$u.get('/api/my_volume/my', params);
	let my_volume = (params = {}) => vm.$u.get('/api/my_volume/receive', params);
	let use_volume = (params = {}) => vm.$u.get('/api/my_volume/use_volume', params);
	let new_year_avatar = (params = {}) => vm.$u.get('/api/new_year_avatar/index', params);
	let remarks = (params = {}) => vm.$u.get('/api/aunt/remarks', params);
	let addremark = (params = {}) => vm.$u.get('/api/aunt/remark', params);
	let answer = (params = {}) => vm.$u.post('/api/my_subject/answer', params);
	let my_subjectrecord = (params = {}) => vm.$u.get('/api/my_subject/record', params);
	let friend_answer_record = (params = {}) => vm.$u.get('/api/my_subject/friendAnswerRecord', params);

	vm.$u.apis={
		topic,
		topic_end,
		list,
		question,
		twist,
		names,
		index,
		record,
		get_volume,
		my,
		my_volume,
		new_year_avatar,
		remarks,
		addremark,
		answer,
		my_subjectrecord,
        friend_answer_record,
        use_volume,
	}
}

export default {
	install
}
